package com.fr.report.painter;

import com.fr.base.Painter;
import com.fr.base.Style;
import com.fr.base.core.html.Tag;
import com.fr.base.xml.XMLPrintWriter;
import com.fr.base.xml.XMLableReader;
import com.fr.report.cellElement.core.CellUtils;
import com.fr.web.Repository;

public abstract class AbstractPainter
  implements Painter
{
  private static final long serialVersionUID = 4170804766837487159L;

  public void paintTag(Repository paramRepository, int paramInt1, int paramInt2, Style paramStyle, Tag paramTag)
  {
    paramTag.sub(paramRepository.checkoutImageTag(CellUtils.value2Image(this, paramStyle, paramInt1, paramInt2), paramInt1, paramInt2));
  }

  public void readXML(XMLableReader paramXMLableReader)
  {
  }

  public void writeXML(XMLPrintWriter paramXMLPrintWriter)
  {
  }

  public Object clone()
    throws CloneNotSupportedException
  {
    return super.clone();
  }
}